package com.bupt.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "channel_direction_t", schema = "dev", catalog = "")
public class ChannelDirection {
   //channel_direction_idbigint(38) NOT NULL主键
    //device_channel_idbigint(38) NOT NULL设备通道ID
    //channel_indexint(2) NOT NULL通道索引
    //start_positionfloat NULL光纤起始位置
    //start_longitudevarchar(20) NULL起始点经度
    //start_latitudevarchar(20) NULL起始点纬度
    //end_positionfloat NULL光纤结束位置
    //end_longitudevarchar(20) NULL结束点经度
    //end_latitudevarchar(20) NULL结束点纬度
    //directionint(1) NULL起始点到结束点的方向 1：东->西，2：南->北，3：西->东，4：北->南

    @Id
    private Integer channelDirectionId;
    private Integer deviceChannelId;
    private int channelIndex;

    private Float position;
    private String longitude;
    private String latitude;
    /*private Float endPosition;
    private String endLongitude;
    private String endLatitude;
    private int direction;*/


}
